package com.example.qxfw.yjqx.service;

import com.example.qxfw.common.entity.yj.Emergency;

import java.util.List;

public interface EmergencyService {

    /**
     * 获取id
     * @return
     */
    String getMaxId();

    List<Emergency> getList(String type,String time1,String time2);

    List<String> getDocPath(String id);

    /**
     * 保存应急信息
     * @param emergency
     * @return
     */
    Integer save(Emergency emergency);

    /**
     * 更新应急信息
     * @param emergency
     * @return
     */
    Integer update(Emergency emergency);

    /**
     * 删除应急历史
     * @param id
     * @return
     */
    Integer delete(Integer id);


}
